package Source;

import Questions.Question;

import java.util.ArrayList;

/**
 * Created by:
 * User: Igor Martynovich and Guzenko Igor
 * Date: 27.11.13
 */
public class QuestionsWrapper {
    private ArrayList<Question> wrappedList;
    public QuestionsWrapper(ArrayList<Question> questionsData){
        wrappedList = new ArrayList<>();
        this.wrappedList = questionsData;
    }

    public Question getQuestionById(int id){

       return wrappedList.get(id);
    }


}
